package com.fantabest.frontend.client.widget;

import com.extjs.gxt.ui.client.Registry;
import com.extjs.gxt.ui.client.util.IconHelper;
import com.extjs.gxt.ui.client.widget.ContentPanel;
import com.extjs.gxt.ui.client.widget.layout.FitLayout;
import com.fantabest.common.client.FantaBestConstants;
import com.fantabest.common.client.RegistryKeys;

public class CalendarMenu extends ContentPanel {

	FantaBestConstants constants = Registry.get(RegistryKeys.CONSTANTS);
	
	public CalendarMenu() {
		initPanel();
	}
	
	private void initPanel()	{
		this.setLayout(new FitLayout());
		this.setHeading(constants.calendar());
		this.setIcon(IconHelper.createStyle("calendar32",32,32));
		this.setBodyBorder(false);
	}
}
